//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-02B
TN_Widget.CreateTable([['Queens Of The Stone Age, Royal Blood, Phantogram & The Armed','Red Hat Amphitheater','Raleigh, NC','Thursday','5/2/2024','6:30 PM','5746472','Queens-Of-The-Stone-Age--Royal-Blood--Phantogram---The-Armed-5-2-2024'],['Shaky Knees Music Festival: Noah Kahan, Weezer & Foo Fighters - 3 Day Pass','Central Park - Atlanta','Atlanta, GA','Friday','5/3/2024','TBD','6117257','Shaky-Knees-Music-Festival--Noah-Kahan--Weezer---Foo-Fighters---3-Day-Pass-5-3-2024'],['Shaky Knees Music Festival: Weezer, Queens of the Stone Age & The Offspring - Saturday','Central Park - Atlanta','Atlanta, GA','Saturday','5/4/2024','12:00 PM','6117254','Shaky-Knees-Music-Festival--Weezer--Queens-of-the-Stone-Age---The-Offspring---Saturday-5-4-2024'],['Queens Of The Stone Age & Royal Blood','Atlantic Union Bank Pavilion','Portsmouth, VA','Monday','5/6/2024','7:00 PM','6242122','Queens-Of-The-Stone-Age---Royal-Blood-5-6-2024'],['Queens Of The Stone Age & Royal Blood','Live Oak Bank Pavilion At Riverfront Park','Wilmington, NC','Tuesday','5/7/2024','7:00 PM','6242123','Queens-Of-The-Stone-Age---Royal-Blood-5-7-2024'],['Queens Of The Stone Age & Royal Blood','Firefly Distillery','North Charleston, SC','Wednesday','5/8/2024','7:00 PM','6242126','Queens-Of-The-Stone-Age---Royal-Blood-5-8-2024'],['Welcome to Rockville: Motley Crue, Limp Bizkit, Foo Fighters & Slipknot - 4 Day Pass','Daytona International Speedway','Daytona Beach, FL','Thursday','5/9/2024','TBD','5855881','Welcome-to-Rockville--Motley-Crue--Limp-Bizkit--Foo-Fighters---Slipknot---4-Day-Pass-5-9-2024'],['Queens Of The Stone Age & Royal Blood','Hard Rock Live At The Seminole Hard Rock Hotel & Casino - Hollywood','Fort Lauderdale, FL','Friday','5/10/2024','8:00 PM','6242127','Queens-Of-The-Stone-Age---Royal-Blood-5-10-2024'],['Welcome To Rockville: Foo Fighters, Greta Van Fleet, Queens of The Stone Age & Cypress Hill - Saturday','Daytona International Speedway','Daytona Beach, FL','Saturday','5/11/2024','12:00 PM','5855884','Welcome-To-Rockville--Foo-Fighters--Greta-Van-Fleet--Queens-of-The-Stone-Age---Cypress-Hill---Saturday-5-11-2024'],['BottleRock Festival: Pearl Jam, Ed Sheeran, Stevie Nicks & Mana - 3 Day Pass','Napa Valley Expo','Napa, CA','Friday','5/24/2024','TBD','5736140','BottleRock-Festival--Pearl-Jam--Ed-Sheeran--Stevie-Nicks---Mana---3-Day-Pass-5-24-2024'],['Queens Of The Stone Age','Santa Barbara Bowl','Santa Barbara, CA','Friday','5/24/2024','7:00 PM','6319647','Queens-Of-The-Stone-Age-5-24-2024'],['BottleRock Festival: Ed Sheeran, Queens of the Stone Age, Dominic Fike, Norah Jones & The Offspring - Sunday','Napa Valley Expo','Napa, CA','Sunday','5/26/2024','11:30 AM','5736143','BottleRock-Festival--Ed-Sheeran--Queens-of-the-Stone-Age--Dominic-Fike--Norah-Jones---The-Offspring---Sunday-5-26-2024'],['Hellfest: Foo Fighters & Queens of the Stone Age (Time: TBD) - Sunday','Hellfest Grounds','Clisson, France','Sunday','6/30/2024','12:00 PM','6131620','Hellfest--Foo-Fighters---Queens-of-the-Stone-Age--Time--TBD----Sunday-6-30-2024']],'Queens of the Stone Age','http://www.ticketnetwork.com/ticket/Queens-of-the-Stone-Age-events.aspx');